package com.museum.service.api;

import com.museum.entity.DO.Permission;
import com.museum.entity.DTO.permission.PermissionShow;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author LB
 * @version 1.0
 * @date 2020/12/27 17:39
 */
@Component
public interface PermissionServiceAPI {
    Permission queryPermissionById(int permissionId);

    List<PermissionShow> build(List<Permission> permissionList);
}
